package com.lnsf.service.impl;

import java.util.List;

import com.lnsf.dao.impl.FinanceDaoImpl;
import com.lnsf.model.Finance;
import com.lnsf.service.IFinanceService;

public class FinancceServiceImpl implements IFinanceService{

	FinanceDaoImpl financedao = new FinanceDaoImpl();
	@Override
	public List<Finance> select() {
		return financedao.select();
	}

	@Override
	public int insert(Finance finance) {
		return financedao.insert(finance);
	}

	@Override
	public int update(Finance finance) {
		return financedao.update(finance);
	}

	@Override
	public int delete(Finance finance) {
		return financedao.delete(finance);
	}
	
}
